/*
 * Created on Jun 28, 2004
 */
package org.vectrics.recruiter.job;

import java.util.Collection;
import java.util.Date;
import java.util.HashSet;

/**
 * @author mmoore
 */
public class JobRequisition {
	private Date requisitionDate = null;
	private String createdByUser = null;
	private int numberOfJobs = 1;
	private Collection jobPosts = new HashSet();
	private Collection hiringManagers = new HashSet();
	
	
	/**
	 * 
	 */
	public JobRequisition() {
		super();
	}
	/**
	 * @return Returns the createdByUser.
	 */
	public String getCreatedByUser() {
		return createdByUser;
	}
	/**
	 * @param createdByUser The createdByUser to set.
	 */
	public void setCreatedByUser(String createdByUser) {
		this.createdByUser = createdByUser;
	}
	/**
	 * @return Returns the hiringManagers.
	 */
	public Collection getHiringManagers() {
		return hiringManagers;
	}
	/**
	 * @param hiringManagers The hiringManagers to set.
	 */
	public void setHiringManagers(Collection hiringManagers) {
		this.hiringManagers = hiringManagers;
	}
	
	/**
	 * @return Returns the numberOfJobs.
	 */
	public int getNumberOfJobs() {
		return numberOfJobs;
	}
	
	/**
	 * @param numberOfJobs The numberOfJobs to set.
	 */
	public void setNumberOfJobs(int numberOfJobs) {
		this.numberOfJobs = numberOfJobs;
	}
	
	/**
	 * @return Returns the requisitionDate.
	 */
	public Date getRequisitionDate() {
		return requisitionDate;
	}
	/**
	 * @param requisitionDate The requisitionDate to set.
	 */
	public void setRequisitionDate(Date requisitionDate) {
		this.requisitionDate = requisitionDate;
	}
	
	
    /**
     * @return Returns the jobPosts.
     */
    public Collection getJobPosts() {
        return jobPosts;
    }
    /**
     * @param jobPosts The jobPosts to set.
     */
    public void setJobPosts(Collection jobPosts) {
        this.jobPosts = jobPosts;
    }
}
